<?php
!defined('M_COM') && exit('No Permission');
global $onlinehold;
empty($onlinehold) && $onlinehold = 6;
$db->query("DELETE FROM {$tblprefix}msession WHERE mslastactive<($timestamp-$onlinehold*3600)");
?>